﻿namespace Kaiser.MvcBase.Models
{
    public class PageInfo
    {
        private int index;
        private int size;

        public PageInfo()
        {
            PageIndex = 1;
            PageSize = 20;
        }

        public PageInfo(int index, int size)
        {
            // TODO: Complete member initialization
            this.PageIndex = index;
            this.PageSize = size;
        }

        public int PageIndex { get; set; }

        public int PageSize { get; set; }

        public string Order { get; set; }

        public string Sort { get; set; }
    }
}